package com.wlts.wzy.api.response.dy;

import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

@Data
public class DyOauthResponse {


    @ApiModelProperty(value = "用于调用API的access_token\n" +
            "过期时间为expires_in值\n" +
            "可通过refresh_token刷新获取新的access_token，过期时间仍为 expires_in值")
    private String accessToken;

    @ApiModelProperty(value = "用于刷新access_token的刷新令牌（有效期：14 天）")
    private String refreshToken;

    @ApiModelProperty(value = "店铺ID")
    private Long shopId;

    @ApiModelProperty(value = "店铺名称")
    private String shopName;

    @ApiModelProperty(value = "access_token接口调用凭证超时时间，单位（秒），默认有效期：7天")
    private long expiresIn;


}
